<style>
div.img {
    margin: 1px;
    padding: 1px;
    border: 1px solid #000000;
    height: auto;
    width: auto;
    float: left;
    text-align: center;
}	

div.img img {
    display: inline;   
    border: 1px solid #ffffff;
}

div.desc {
  text-align: center;
  font-weight: normal;
  font-size: 14px;
  width: 150px;  
}
</style>